import pyautogui as pg
import pyperclip as pyp
import time
pg.PAUSE=2
pg.hotkey("win","r")
pg.write("https://www.baidu.com")

pg.press("enter")
pyp.copy("西游记")
pg.hotkey("ctrl","v")
pg.press("enter")

